package net.xuhf.hello;

import org.redisson.Redisson;
import org.redisson.api.RedissonClient;
import org.redisson.config.Config;

public class RedissonUtil {

    public static RedissonClient getClient() {
        Config config = new Config();
        config.useSingleServer()
                .setAddress("redis://47.94.165.24:6379")
                .setPassword("Kevin...2022");
        return Redisson.create(config);
    }
}
